<?php if (isset($this->articles) && $this->articles) : ?>
<div class="ninhgio fl">
	<?php if ($this->categoryId || $this->style == 'category') : ?>
	<div class="mb5">
		<div class="boxShareClunmleft300">
		    <div class="boxShareClunmleft300Top">
		        <div class="boxShareClunmleft300Btom">
		            <div class="color3 bold fontsize15 padding6 textCter" style="border-bottom: 1px solid #DADADA;">
		                <a class="color2 bold fontsize15" href="javascript: void(0);">Đọc nhiều nhất</a>
		             </div>
		            <div class="boxCmtt">
		            	<?php foreach ($this->articles as $index => $article) : ?>
		    			<?php if ($index < 10) : ?>
						<div class="news-widget-mostviewd-<?php echo $index + 1; ?>">
		                    <a class="color2 fontsize12" href="<?php echo $this->url('news_article_details', $article); ?>"><?php echo $article['title']; ?></a>
		               	</div>
		               	<?php endif; ?>
						<?php endforeach; ?>
		            </div>
		        </div>
		    </div>
		</div>
	</div>
	<?php else : ?>
	<div class="pdl5 mb5 fl">
		<div class="boxShareClunmleft2">
		    <div class="boxShareClunmleft2TOp">
		        <div class="boxShareClunmleft2Btom">
		            <div class="color3 bold fontsize15 padding6 textCter" style="border-bottom: 1px solid #DADADA;">
		                <a class="color2 bold fontsize15" href="javascript: void(0);"><?php echo $this->TRANSLATOR->widget('title'); ?></a>
		             </div>
		            <div class="boxCmtt">
		            	<?php foreach ($this->articles as $index => $article) : ?>
		    			<?php if ($index < 10) : ?>
						<div class="news-widget-mostviewd-<?php echo $index + 1; ?>">
		                    <a class="color2 fontsize12" href="<?php echo $this->url('news_article_details', $article); ?>"><?php echo $article['title']; ?></a>
		               	</div>
		               	<?php endif; ?>
						<?php endforeach; ?>
		            </div>
		        </div>
		    </div>
		</div>
	</div>
	<?php endif; ?>
</div>	
<?php endif; ?>